WebStorm使用技巧
JSON 文件编写注释报警告
错误警告:JSON standard does not allow comments. Use JSMin or similar tool to remove comments before parsing.
解决方案
WebStorm 2018.2 now supports the JSON5 standard. By default, you can use the new syntax only in files with the .json5 extension, but you can extend it to all .json files. To do this, open Preferences | Editor | File types, find JSON5 in the list and add *.json to the registered pattern for it.