On many .Net programming languages there is something called “Code Outlining” better known as #regions which is a way to group or encapsulate pieces of code, very helpful to have a clean code whenever you have hundreds or thousands of code lines, here is how it looks on C#.
Unfortunately regions are not available on MS SQL, because it is not necessary
SQL Server Management Studio has an auto Code Outlining that adds a “+” sign on each SQL statement, see image below:
But what happens if you want to group many statements as part of the same process?
Just encapsulate your code with BEGIN and END tags, and add a comment after the BEGIN tag like this: