The Australian government says it is disappointed a Chinese social media company has censored a post by the prime minister.

Scott Morrison used WeChat to respond to an offensive Tweet by a senior Chinese government official.

But the platform blocked his post, saying it distorted historical events and would confused the public.

The ugly diplomatic spat centres on allegations of war crimes against Australian troops who served in Afghanistan.

Josh Frydenberg is disappointed China deliberately stoked tensions with the inflammatory propaganda post.

“What the prime minister did in his WeChat message before it was disappointingly deleted was he made it very clear Australia is proud of its servicemen and women who wear the uniform,” the treasurer said on Thursday.

“We have established a transparent process to deal with those matters.

“Despite the challenges in the bilateral relationship, that in no way diminishes our respect and admiration for the Chinese Australian community, but also the people of China.”

Mr Frydenberg, who also has to manage deteriorating trade ties, said the bilateral relationship between Australia and China was critical.