Earlier quoted context omitted.
JSON should be banned for configuration, if only for the fact it doesn’t support comments.
Use HJSON, json with comments that doesn't kill you for a trailing comma. All the benefits of JSON, no new syntax to learn, easy to fit in place in new or existing systems. https://hjson.github.io/
All languages should make unnecessary characters optional like trailing semicolons and commas.