code: def read_json_with_comments(json_path):
      # fallback to json
      with open(json_path, "r") as f:
          input_str = f.read()
      # handle comments
      input_str = re.sub(r"\\\n", "", input_str)
      input_str = re.sub(r"//.*\n", "\n", input_str)
      data = json.loads(input_str)
      return data
  
file_path: TTS/TTS/utils/io.py
imports: import os
  import re
  import json
  import yaml
  import pickle
  from shutil import copyfile
label_desc: Use image node_id 1 for calling a global function with example usage: read_json_with_comments(json_path) and returns: data