China on Tuesday rejected a plan by U.S. Republican presidential candidate Donald Trump to back out of a global climate change pact, saying a wise political leader should make policy in line with global trends, a rare comment on a foreign election.

The world is moving towards balancing environmental protection and economic growth, China's top climate change negotiator told reporters, in response to a query on how China would work with a Trump administration on climate change.

"If they resist this trend, I don't think they'll win the support of their people, and their country's economic and social progress will also be affected," Xie Zhenhua said.

"I believe a wise political leader should take policy stances that conform with global trends," China's veteran climate chief said.

Trump has threatened to reject the Paris Agreement, a global accord negotiated by nearly 200 governments to battle climate change that takes effect on Friday.

Chinese officials are often hesitant to weigh in on foreign elections, although they will defend Chinese policies when attacked in candidates' policy platforms.