I know this probably would take some work, but it would be very beneficial if the script editor was collapsible for different code sections.
Example: If you paste some json code at https://jsonformatter.curiousconcept.com/
you can collapse it by section. See this imgur post
to visualize what I am talking about.
Sections such as alias, raw, ON EVENTS could be set as collapsible and would help the readability for those of us with large scripts.