The parser for tsconfig.json (typscript.parseConfigFileTextToJson(fileName, jsonText) or parseJsonText) seems to be what you want; I wonder if there is a name for that format.
I think JSONC is the term for json with comments and trailing commas
I think JSONC is the term for json with comments and trailing commas