json_comment¶ Strip // comment style single-line comments from JSON5 strings. afwf_fts_anything.json_comment.strip_comments(string: str) → str[source]¶ Strip // single-line comments from a JSON5 string. Parameters: string – JSON5 text that may contain // comments. Returns: The string with all // comments removed.