Adds a comment lookup for the JSON template