China responded Tuesday to claims by Republican U.S. presidential candidate Donald Trump that Beijing "breaks the rules in every way imaginable" when it comes to trade, lashing out at the business mogul's economic prescription that it called "dangerous and damaging."

In a commentary, the official Xinhua News Agency took Trump to task for a speech he made the same day outlining his economic policies.

"U.S. Republican presidential nominee Donald Trump on Tuesday played the China-bashing card once again in his latest attempt to rectify his falling popularity," the editorial said. "The inflammatory rhetoric, however, is dangerous and damaging and offers nothing substantive in way of improving relations with China."