SEOUL/BEIJING (Reuters) - North Korea’s Kim Jong Un and Chinese President Xi Jinping came to an understanding on issues discussed at a summit of the two leaders, including denuclearisation of the Korean peninsula, the North’s state media said on Wednesday.

North Korean leader Kim Jong Un and Chinese President Xi Jinping raise a toast in Beijing, China, in this undated photo released June 20, 2018 by North Korea's Korean Central News Agency. KCNA via REUTERS

Kim and Xi assessed the historic meeting Kim had with U.S. President Donald Trump in Singapore last week and exchanged opinions on ways to resolve the issue of denuclearisation, Korean Central News Agency (KCNA) said.

The North Korean leader also promised during a meeting with Xi in Beijing to cooperate with Chinese officials to secure “true peace” in the process of “opening a new future” on the Korean peninsula, it said.

Xi told Kim the neighbors’ joint efforts could definitely ensure peace and stability on the Korean peninsula, China’s official Xinhua news agency said.

“I have faith that, with the joint efforts of China and North Korea, our relationship can definitely benefit both countries and both peoples,” Xinhua quoted Xi as saying.

Kim told Xi that previously China and North Korea had helped each other out like family members. “General Secretary comrade Xi Jinping has shown us touching and familial support and concern,” he said, according to Xinhua.

Kim wrapped up his two-day trip to Beijing on Wednesday with a visit to an agricultural sciences exhibition and the Beijing subway command center, Xinhua said.

The visit follows his Singapore summit, where Kim and Trump reaffirmed a commitment to work towards complete denuclearisation of the Korean peninsula.

Trump surprised officials in South Korea and the United States after that meeting by saying he would end “provocative” joint U.S.-South Korean military exercises.

Slideshow ( 9 images )

The United States and South Korea said they had agreed to suspend a joint military exercise set for August, although decisions regarding subsequent drills have not yet been made.

On Wednesday, South Korean Foreign Minister Kang Kyung-hwa said the decision to suspend the exercise could be reconsidered, based on future developments with North Korea.

“I think we’ve made it clear this is a goodwill gesture to strengthen dialogue momentum,” Kang said.

“It’s not irreversible. They could come back if the dialogue loses speed, or if North Korea doesn’t live up to its denuclearisation commitment,” she said.

Kim is on his third visit to China this year. Xi praised Kim on Tuesday for the “positive outcome” of the summit with Trump.

KCNA also reported that Xi said relations between China and North Korea had reached a new level of development since Kim’s first visit in March and that the pacts by the two leaders were being carried out “one-by-one”.

Kim also told Xi he was willing to bolster friendship and cooperation, it said.

It was widely expected that Kim would visit Beijing to brief Xi on his summit with Trump, which included Pyongyang agreeing to hand over the remains of troops missing from the 1950-53 Korean War.

Two U.S. officials told Reuters on Tuesday that North Korea could start that process soon.

In Washington on Wednesday, U.S. Defense Secretary Jim Mattis told reporters that discussions were continuing on obtaining the remains of U.S. troops.

Mattis said he would meet with Trump’s national security adviser on Friday to discuss the issue of joint military exercises with South Korea. He said he would visit China and South Korea next week.