There is no equivalent in C ++. However, IDEs should be able to collapse sections.
You can also use something like this:
#pragma region #pragma endregion A comment about the region.
But probably not very portable
Firedragon Jan 25 2018-12-12T00: 00Z
source share