A parser library (JSONC, YAML, TOML) should optionally let you parse comments — what you do with them is your prerogative.
Yes, your job is to parse
52.7%
No, throw comments away
15%
It's complicated
32.3%
Poll ended at .
@fasterthanlime There are a few perfectly valid uses for parsers give you comments, e.g. for syntax highlighting and other IDE-ish tasks. So I'd say yes, offer it optionally. However, you can sometimes write a way simpler or faster parser if you can just ignore them ASAP, therefore it's complicated.