Equivalent to #Region("namee") .... #endRegion in PlatformIO

Hi everybody.

The idea is to be able to hide some lines of code.

Is there anyway to use something like

my code
several lines

or, sometimes, just after the number of line, there is a “<” is someone know how to how to add one and define where it ends?

Thank you for your help.

OK, I answer to myself as I found it:

#pragma region{//details, name ...
#pragma endregion}
//the code after the region

you will have a small “>” just after the number.

if you click on it you will see:

#pragma region{//details, name ...
//the code after the region