Create foldable area arbitraily

Basically, I want #region of C#. The IDE suggested #progma region and it works, but that generated compile-time warnings warning: ignoring '#pragma region Init' [-Wunknown-pragmas].

Is there anything better or is #progma region all we have?

The display of code in the code window is VSCode territory, not PlatformIO. Please ask at Issues · microsoft/vscode · GitHub.