"Less" doesn't specifically imply either quality or quantity. It could refer to either or both.
Pronoun: a smaller amount of; not as much.
Adjective: of lower rank or importance.
Adverb: to a smaller extent; not so much.
Since the question left it vague whether referring to quantity or quality, my answer clarified how I was interpreting it.
As to whether or not solar is better than coal ... they both require massive amounts of mining.
Modern technology can provide filters to cancel pollution from smoke stacks, and provide non-polluting transportation.
Solar is not 24/7 in most regions ... so requires batteries, which require more mining - not to mention disposal / recycling.
So there are pros and cons of both.