Comment by afavour

3 hours ago

Isn't this a problem contained to npm more than Node itself?

I'm imagining pnpm or others being able to adopt a package.json file that allows comments, then, when actually publishing, ensuring the published package.json is regular JSON.