Comments are inherently not supported by JSON. To aid better collaboration, we introduced JSON comments in Postman v11 release.
JSON comments can cause errors if included in the JSON gotten programmatically from the script tab, so the scripting library does the heavy lifting of stripping the comments off when accessed programmatically.
@chrisdoar a screenshot of what you see in the logs will be really helpful here as Mike recommended.