Use js files for config. They support comments, syntax highlighting will work out of the box, and you can require them.
To fix this I added a section to the article: https://t.co/sXJhTYXQvy
(Using executable files for configuration can be an enormous problem for some uses.)