The leaders of China and the Republic of Korea (ROK) on Thursday agreed to advance bilateral relations to ensure the long-term stability of their ties.
The commitment was made during talks between Chinese President Xi Jinping and his ROK counterpart Moon Jae-in in Beijing.
Xi welcomed Moon on his state visit to China for the 25th anniversary of the establishment of diplomatic ties between the two countries.
China and the ROK are friendly neighbors and strategic cooperation partners, Xi said.
He said the two countries have made remarkable progress in exchanges and cooperation in various fields, which has brought tremendous benefits to both sides.
There have been some twists and turns in China-ROK relations, which have provided enlightenment for both sides on how to create a better future together on the basis of mutual respect for each other's core interests, said Xi.
He said China attaches great importance to relations with the ROK and is ready to work with the ROK to maintain the original intention of establishing diplomatic relations and take full account of the well-being of the two peoples.
Both countries should uphold the basic principle of respecting each other's core interests and major concerns as well as the principle of treating each other as neighbors with sincerity, he said.
Xi also suggested that the two sides adhere to the principle of mutual benefit and win-win cooperation to ensure that the development of bilateral relations is on the right track.
The 19th National Congress of the Communist Party of China (CPC) has brought broader prospects for China's cooperation with its neighboring countries, including the ROK, said Xi.
He called on the two sides to strengthen political communication, cement the foundation of mutual trust, and make good use of the exchange mechanism between legislative bodies and political parties of the two countries.
China welcomes the ROK's participation in the Belt and Road construction, said Xi, hoping to promote the alignment of the Belt and Road Initiative with the ROK's development strategy.
He called for increased exchanges in areas such as youth, education, science and technology, media, sports, health and local affairs, for the long-term and stable development of bilateral ties.
Moon's visit coincided with China's annual memorial for the victims of the Nanjing Massacre, which fell on Wednesday. Moon extended his empathy to the victims.
This was Moon's fifth trip to China and the first as ROK president. He expressed his admiration for China's development achievements.
Calling the two countries important trading partners, Moon said the development of regional countries is closely linked with China's Two Centenary Goals.
The ROK expects joint efforts with China to cement political trust and friendship between the two peoples, boost cooperation in various areas and coordination in global and regional affairs, Moon said.
The ROK hopes to participate in the Belt and Road Initiative and promote the building of a community with a shared future for mankind, he said.
The two leaders also exchanged their views on the situation on the Korean Peninsula.
"We must unswervingly uphold the goal of a nuclear-free peninsula and never allow war or chaos on the peninsula," said Xi.
China believes that ultimately, the Korean Peninsula issue could only be solved through dialogue and consultation, he said.
China and the ROK have important common interests in maintaining peace and stability on the Korean Peninsula, Xi added.
China will continue to strengthen communication and coordination with the ROK on maintaining stability and preventing wars on the Korean Peninsula and promoting peace and talks, said Xi.
He said China supports the continued improvement of the relations between the two countries on the Korean Peninsula through dialogues and contacts, which will help ease tensions and finally settle the issue.
Moon said the ROK is firmly committed to resolving the Korean Peninsula nuclear issue through peaceful means, and is willing to work with China to safeguard peace and stability in the region.
Xi reaffirmed China's position on the deployment of the Terminal High Altitude Area Defense (THAAD) system in the ROK and hoped the ROK will properly deal with the issue.
After their talks, the two leaders witnessed the signing of cooperative documents in areas such as economic and trade, green and ecological industries, environment, health, agriculture, energy and Winter Olympics.