For one it was done at very low power, would be much worse at normal power
There you go georgehifi, illustrating that YOU do not understand how electronics work and how Class-D amplifiers work. Signal level will have 0 effect on this. There is something that will though.
And here is the distortion of a very good amplifier:
https://www.audiosciencereview.com/forum/index.php?attachments/purifi-1et400a-class-d-amplifier-modu...Makes your "good linear amp" look like a 1970’s discount Realistic Receiver.
And if you can't see that that 10KHz square wave is a quite good square wave, then you are even less "aware" of audio/signals than I thought.