← back to index

S4663 — Comments should not be empty

Language: C#  |  Type: CODE_SMELL  |  Severity: Minor

Why is this an issue?

Empty comments, as shown in the example, hurt readability and might indicate an oversight.

//

/*
*/

///

/**
*/

Some meaningful text should be added to the comment, or the comment markers should be removed.