BEIJING (Reuters) - China’s defense ministry said on Thursday that it was supporting Afghanistan’s defense and counterterrorism efforts, a day after Beijing denied a plan to build a base in Afghanistan and to send Chinese forces to the war-torn country.

A red flag covers a soldier from Chinese honour guards during a welcoming ceremony for Swiss President Johann Schneider-Ammann at the Great Hall of the People in Beijing, China, April 8, 2016. REUTERS/Kim Kyung-Hoon - D1AESXECBBAA

China’s foreign ministry on Wednesday dismissed a report by the South China Morning Post that cited sources with ties to the military as saying it was funding construction of a camp in Afghanistan’s narrow Wakhan Corridor linking the two countries, and could send hundreds of troops there.

The Hong Kong newspaper later updated its report to quote Afghanistan’s embassy in Beijing as saying China was helping the country set up a “mountain brigade” to boost counterterrorism efforts, but that there would be “no Chinese military personnel of any kind on Afghan soil at any time”.

Chinese defense ministry spokesman Wu Qian, asked about the mountain brigade at a regular monthly news briefing, said China and Afghanistan had “normal military and security cooperation”.

“China and the international community are all supporting Afghanistan to strengthen its defense and counterterrorism building efforts,” Wu told reporters.

“At present, both sides are in communication and coordination about the relevant matter. China is willing to continue working hard with Afghanistan to jointly protect both countries and regional security and stability,” Wu said.

“As for the so-called reports on China stationing forces in Afghanistan, this does not accord with the facts,” he said, without elaborating.

Reports have repeatedly pointed to China seeking a military presence in Afghanistan, although it has denied them.

In January, the defense ministry dismissed a report that it planned to build a military base in Afghanistan, and it previously refuted assertions that Chinese military vehicles were patrolling in the south Asian nation.

China has long worried that militancy in Afghanistan could spill over into its violence-prone Xinjiang region, home to the Muslim Uighur people.

In recent years, hundreds of people have been killed in the far western region in unrest China blames on Islamist militants.

China has also worked with Pakistan and the United States to broker peace talks to end Afghanistan’s Taliban insurgency that has raged since the militants were ousted by U.S.-backed forces in 2001.

Last year, China opened its first overseas military base, in the Horn of Africa country of Djibouti. It has previously denied having plans for other overseas bases, but the United States expects it to build more, with Pakistan a possible location.