China also said it will step up coordination with Pakistan on regional hotspot issues and deepen pragmatic cooperation.
"We will deepen defence cooperation with Pakistan and step up cooperation and coordination on regional hotspot issues with Pakistan," Chinese Foreign Ministry spokesman Hong Lei said here.
Asked to elaborate on the regional hotspot issues and whether it concerned India and Pakistan, Hong said: "Our role in relations between India and Pakistan is to promote peace talks between the two countries and improve relations.
The statement came as Xi landed in Pakistan on a two-day state visit to boost strategic ties with its all-weather ally during which he will reach a number of deals.
More From This Section
"We will deepen pragmatic cooperation and make the community of common destination between China and Pakistan as good example for the neighbouring counties," he said.
Xi's trip is taking place ahead of Prime Minister Narendra Modi's visit to China next month.
Chinese officials have been maintaining that stability and security of Pakistan is important for Beijing to invest in such a big long-term project.
China has taken a lead role in recent months to promote greater cooperation between Pakistan and Afghanistan as it looks to deal with increasing militancy in its Uygur Muslim majority of Xinjiang province where the al-Qaeda backed East Turkistan Islamic Movement (ETIM) has become very active.
As ETIM has carried out a number of violent attacks, Pakistan's security forces have stepped up operations in the country's tribal areas to crackdown on its training bases to address China's concerns.