He will later leave China for Moscow where he will discuss the Islamic Republic's decision on the nuclear deal with Russian officials.
The source told Asr-e Iran news website that plans are being made for the Iranian president's visits to the European countries.
However, the participating countries must ensure the embodiment of the nuclear deal.
"If the remaining five countries continue to abide by the agreement, Iran will remain in the deal despite the will of America", he said during a meeting with Sri Lanka's president.
He added: "We are very pleased that the Islamic Republic of Iran has fully complied with any agreement that is has signed, and at the same time, we are very sorry that the United States has violated the nuclear deal as one of the parties to a very important nuclear agreement approved by the United Nations".
Trump gives freed Americans flag-waving, wee-hours welcome
Kim had revealed plans to shut down the nuclear test site during his summit with South Korean President Moon Jae-in last month. He and Kim "will both try to make it a very special moment for World Peace!" he said of the summit later on Twitter .
'The Prime Minister made clear that the United Kingdom condemns the Iranian missile attacks against Israeli forces and called on Iran to refrain from any further attacks.
"The policy of Iran in the region is based on efforts to maintain security, stability and the fight against terrorism", said Mr. Rouhani, emphasizing, "today, we are happy that we were able to help the Iraqi government and nation to bring ISIL to its knees".
European allies like French President Emmanuel Macron, German Chancellor Angela Merkel, and British Prime Minister Theresa May have been heavily critical of Trump's decision to pull out of the agreement and have said that the US leaving the deal does not mean their respective countries would do so.
However, not only will the U.S. re-impose sanctions on Iran - but foreign firms dealing with the country could also be targeted, complicating rehabilitation aspirations and building skepticism that the agreement will survive.