In objects with ST (Structured Text) code, use the "region" pragma to expand and collapse lines of code to increase the overview.
CODESYS Clip: Better overview of ST code via Pragma