The pragma is used to combine multiple lines in a text editor to a block. The block can be named. Region pragmas can also be nested.
Code with region pragma: Expanded and collapsed views

The pragma can be used in the ST editor and all declaration editors. Syntax highlighting can be customized in the options.