China on Tuesday said it stands ready to work with Argentina, shortly after right-wing libertarian Javier Milei — who has been critical of Beijing — secured in the South American nation's presidential runoff.

Milei, who on Sunday Peronist Economy Minister Sergio Massa, had been vocal on China on the campaign trail and pledged to freeze relations with one of Argentina's most important trading partners.

The president-elect Argentina would no longer work with "communist" regimes, likened Beijing's government to an "assassin" and said the people of China were "not free." Milei's four-year term will begin from Dec. 10.

More recently, Diana Mondino, an economist tipped to become foreign minister in Milei's administration, was quoted as saying Argentina would stop interacting with the governments of Brazil and China, according to Russia's state-run news agency.

Mondino had been asked whether Argentina would continue to encourage imports and exports with its main trading partners. Mondino was not immediately available to comment when contacted by CNBC.

Asked on Tuesday about Mondino's comments, China's Foreign Ministry spokesperson, Mao Ning, disputed the summation of Mondino's remarks and said Mondino had said in her interview "that some in the world misread President-elect Milei's foreign policy."

"No countries could step out of diplomatic relations and still be able to engage in economic trade and cooperation," Mao said.

"It would be a huge foreign policy mistake for Argentina to cut ties with major countries like China or Brazil. China is Argentina's important trading partner. The newly elected Argentine government values its relations with China, especially the business ties between the two countries."

The Chinese Foreign Ministry told CNBC later Tuesday that Mao was citing Mondino when saying it would be a mistake to cut ties.

Mao that bilateral relations had shown "sound momentum," adding that Beijing "stands ready to work with Argentina to keep our relations on a steady course."

The views of Argentina's incoming government on China appear to reflect a stark change from the outgoing Alberto Fernandez administration, with Fernandez describing China as a " " during a visit to Beijing last month.

Fernandez also pledged to strengthen collaboration within the frameworks of the G20 and BRICS cooperation mechanism.

The BRICS coalition is currently composed of Brazil, Russia, India, China and South Africa.

Argentina was recently among to join the alliance, alongside Egypt, Ethiopia, Iran, Saudi Arabia and the United Arab Emirates.