Currently, when you collapse script folds, it will not save the next time you open the script:
Especially for long scripts, script folds are useful to reduce visual clutter.
Scripts being able to remember their folds would help increase developer productivity as parts of the script that aren’t actively being looked at goes out of the way.