The classic approach to commenting out JSON files is to add fake entries, which I hope will be ignored by the consumer, for example:
"video-wavesurfer-comment": "videojs plug-in for adding navigable waveforms; used by the video component"
For longer comments use arrays:
"video-wavesurfer-comment": [ "videojs plug-in for adding navigable waveforms; used by the video component", "Remove this for the non-video version." ]
Of course, you will have to put them somewhere where someone will not try to take them apart. For example, they cannot go WITHIN "dependencies":
user663031
source share