Not suggesting that anybody would buy the following Class D amp to power a guitar cab because it's very expensive and probably wouldn't have enough power available for that anyway. Also, it would never end up in a L6 powered HX device for that cost reason because it wouldn't be viable; but I'm linking the Hypex NCx500 module here just to demonstrate that not all Class D power amps are trash or sound the same.
The THD figures are excellent.
This is a review and detailed measurements of the Hypex NCx500 NCOREx reference design amplifier. It was sent by the company and kindly assembled by our local expert, @Rick Sykora. As you see the sample is a "monoblock" configuration (one channel) driven by Hypex SMPS1200 switching power...
www.audiosciencereview.com
There are a good deal of poorly designed Class D amps out there and / or they often contain cheap components and are usually built to a price point - and that might be the majority of them; so I can see why there is a dislike of them out there.
The point here is that the topology of Class D isn't inherently the problem in terms of the dislike that they receive. It's just a topology.