Collapse custom code bricks

I remember there’s a shortcut Ctrl+Shift+[ to fold a custom part of code selected. But although it works it will error due to the brackets being wrong syntax. Am I doing it wrong or it’s not intended for this? I would like to look at cleaner codes, for example a group of functions that does similar things can be collapsed into a fold and it will make it a lot cleaner.

also are there any ways, like editing fflags so that when I type near folds like tables it won’t automatically expand the fold?

Would be interesting to have a feature to set comments as foldable

--Comment [Arrow here]
print("Blablabla")
--Other comment
print("Tralala")

And then you click on arrow

--Comment [Arrow here] *Click to expand*
--Other comment
print("Tralala")