Hi,
I understand that you want to know if code folding in live scripts is possible or not.
Unfortunately, for now this feature is not available. However this might be available in future releases as mentioned in this MATLAB Answer post:
Meanwhile workaround mentioned in this MATLAB Answer post response can be helpful:
I hope this helps!