Command Comment Selection
Hotkey: [Ctrl+K] + [Ctrl+C]
Function: The command comments out a selected code section. The code section is excluded from the compilation and has no influence on the program execution.
Call: Menu Edit > Advanced
Requirement: A function block is open in the editor, and code is selected.
This command can be used to create comments for the documentation of a program or program section, or to temporarily exclude a code section from compilation. The command Command Uncomment Selection can be used to cancel a comment, so that a commented-out code section is reintegrated into the program execution.