This was stated by China's Foreign Minister Wang Yi at a joint news briefing with his visiting Palestinian counterpart Riyad al-Maliki in Beijing today.
Earlier Friday, North Korea's Vice Minister Han Song Ryol told The Associated Press in an exclusive interview that his country will keep building up its nuclear arsenal in "quality and quantity" and said Pyongyang is ready to go to war if that's what President Donald Trump wants.
Yi said that if a war occurs, everyone will lose.
Wang and Ayrault revealed at the press conference held after their meeting that they had discussed bilateral issues and major global crises such as the situation on the Korean Peninsula and the civil war in Syria.
The U.S. military on April 13 dropped one of the most powerful nonnuclear bombs it possesses on Afghanistan, targeting a complex used by the Islamic State group.
Trump also flexed his military muscle last week by ordering cruise missile strikes on a Syrian airbase the United States believed was the origin of a chemical weapons attack on civilians in a northern Syria town.
A White House foreign policy advisor said Friday that the United States is assessing military options in response to North Korea's weapons programs, saying another provocative test was a question of "when" rather than "if".
The warnings came ahead of the birth anniversary celebrations of Kim Il-sung, the founder of North Korea, which are scheduled to be held in Pyongyang this weekend.
But Beijing has long opposed dramatic action against Pyongyang, fearing the regime's collapse would send a flood of refugees across its borders and leave the USA military on its doorstep.
The foreign minister voiced support for the 2002 Arab Peace Initiative, the two-state solution, the establishment of a fully independent Palestinian state on the 1967 borders with East Jerusalem as its capital, and any other help that would ease the Palestine-Israel situation.
Wang's comments mark the latest attempt to cool tensions by North Korea's most important ally and key provider of food and fuel aid. But there are few good diplomatic or economic options for the Trump administration.