"China thinks that the international cooperation against terrorism should be enhanced and stepped up. The international community should give full recognition and affirmation to Pakistan's efforts in this regard," Chinese Foreign Ministry spokesman Lu Kang told reporters in Beijing.
His remarks came in response to the India-US joint statement issued after the talks between Prime Minister Narendra Modi and US President Donald Trump.
"We have to say Pakistan stands at the frontlines of the international counter terrorism fight and has been making efforts in this regard," Lu said in response to the statement in which India and the US had asked Islamabad to ensure that its soil is not used for cross-border terror.
The joint statement issued on Tuesday after Modi-Trump meeting had also called on Pakistan to expeditiously bring to justice the perpetrators of the Mumbai, Pathankot, and other cross-border terrorist attacks.
Modi and Trump also vowed to strengthen efforts to fight terrorism and eliminate safe havens for terrorists.
Ahead of the Modi-Trump meeting, the US State Department had set the tone for the summit by declaring Syed Salahuddin, chief of Kashmiri militant group Hizbul Mujahideen, as a 'global terrorist'.
The State Department's action had sent out a strong message against the terrorism emanating from the country which is hurting India.
During their meeting, Modi and Trump had had also "committed to strengthen cooperation against terrorist threats from groups including al-Qaeda, ISIS, Jaish-e-Mohammad, Lashkar-e-Taiba, D-Company (led by underworld don and terror mastermind Dawood Ibrahim), and their affiliates."
On the Modi-Trump talks to improve Indo-US ties, Lu said China is pleased over countries developing friendly cooperative relations.
"We think such relations play a positive and constructive role in upholding peace and stability in the region.
About US recognising India's role in stabilising Afghanistan, Lu said, "the realisation of peace and stability in Afghanistan is also in line with the general interest of the regional peace and stability."
"We always maintain that the peace process in Afghanistan should be a Afghan-led and owned one. We also welcome all parties' constructive efforts to this end," he said.
Pakistan must stop backing terrorists: Modi, Trump
Be prepared for China's Electronic Warfare
What the India-US joint statement says
Fighting terrorism topmost priority: PM in joint statement
Vote: Modi's Obama hug vs Modi's Trump hug