Hello,
I saw in a community question that this idea had already been asked (and even attached to a feature request) but I can't find it in the ideas and therefore can't vote for it (because it's not in the form of an "idea"). So I'm creating it here to allow others to vote for it.
My suggestion for further development would be to allow scripts to be folded by "regions" as in VisualStudio in TC's current script editor.
for example:
#region MyProcessing
[...]
#endregion
Thanks