SA0140: Statements commented out

Function

Determines statements that are commented out.

Reason

Code is often commented out for debugging purposes. When such a comment is enabled, it is not clear at a later point in time whether the code should be deleted or whether it was only commented out for debugging purposes and was inadvertently not commented in again.

Importance

High

PLCopen rule

C4

Sample:

//bStart := TRUE;                // => SA0140