"China and Russia have maintained close communication and coordination at various levels on this matter. Our two sides have a high degree of agreement in our perceptions of the nature of this issue and the harm it will bring," said the president, reiterating the two countries' firm opposition to the deployment.
The two countries, he said, will take necessary measures, jointly or individually, to safeguard their national security interests and regional strategic balance.
Talking about the Syrian issue, Xi said a political solution offers the only way out.
"China' s position on the issue is consistent. We maintain that the sovereignty, independence and territorial integrity of Syria should be upheld and respected, that the future of Syria should be decided by the Syrian people on their own, and that political settlement is the only viable way out," said the president.
Citing positive signs in the Astana meeting in mid-March and the latest progress on the Geneva talks, Xi urged more efforts to maintain the momentum for a political solution to the Syrian issue.
Xi also noted that anti-terrorism cooperation is an important part of the China-Russia comprehensive strategic partnership of cooperation, which he said sets an example for the world in that regard.
In bolstering international anti-terrorism cooperation, Xi called for the rejection of double standards and urged the international community to "fully leverage the leading role of the United Nations in the fight against terrorism, and act in concert with strong determination."
Meanwhile, Xi said issues of regional hotspots should be resolved properly "to help restore stability to Syria and other Middle Eastern countries at an early date and contain the rampant spread of terrorism."
The Chinese president also suggested that "a long-term perspective and a multi-pronged approach" be adopted, one that eyes on "political, economic and cultural fronts, with a view to not only addressing the symptoms but also eliminating the hotbed for terrorism."
EXPECTATIONS FOR G20 SUMMIT
Xi told the Russia media that he hopes the G20 will continue to "uphold the spirit of partnership for win-win cooperation," which he said was "the very spirit that steered the G20 through the international financial crisis."
"Global growth continues to gather momentum, as both developed countries and emerging markets show stronger economic performance. However, grave challenges remain. Therefore, it is particularly important for the G20 to play its role as a premier forum for international economic cooperation," he pointed out.
"As long as we accommodate each other and stick together, come rain or shine, we will make steady progress and reach our destination together," the president said, repeating the remarks he gave at the welcoming banquet of last year's G20 summit held in the Chinese city of Hangzhou.
Xi said the G20 "as a pacesetter of the world economy" should stay committed to open development, support the WTO-centered multilateral trading regime, and make sure that trade and investment remain the drivers of global growth.
China expects that the G20 continues to chart the course for innovative growth and long-term governance, Xi said.
"Countries need to unleash new drivers of global growth through innovation. It is important to advance the in-depth development of the digital economy and new industrial revolution, increase investment in infrastructure, and employ fiscal and monetary policies and conduct structural reform to achieve strong, sustainable, balanced and inclusive growth of the world economy," the president said.
China is willing to take the Hamburg Summit as an opportunity to work with all other parties and contribute to global growth and better global economic governance, he added.