Convention: Multiline Comment Usage

User Description

This convention verifies if multiline comments are used in objects.

Do not use multiline comments because the start and end of such a comment could get lost while merging.

For example, a commented out code may unintentionally become part of the program again.

Example

Multiline comments calculation example.

Declaration:

1: (*This is a multiline 
2: comment in header*)
3: PROGRAM SR_Main
4: VAR
5:     xCheck1: BOOL;(*not needed
6:     uiMyVariable2: UINT;*)
7:     xFlag: BOOL;
8: END_VAR