A lot of json parsers will permit comments even though it isn't meant to be valid. Worth trying it, see if a comment breaks the config, and if not then use comments and don't worry about it.
For reference, jq and python don't allow comments.
For reference, jq and python don't allow comments.