I’m sure in another versions of Quality Profiles, exists a rule for lines of code commented. But in my current versión of SonarCloud. I only have “Sections of code should not be commented out”, so when I have line commented, Sonar don’t detected (the rule works in sections or blocks, but the “problem” is in the logic lines of code commented).
Can you share a sample of code where a single line is commented out and not detected? The rule is not precious about the number of lines (and a single line counts as a “section”)