             guard let lastLine = eachSection.last else { continue }
 
             // filtering out violations within a multiple comment block
-            let sectionInComment = comments.filter {
-                (eachRange, _ ) in  eachRange.intersectsRange(lastLine.range)
-                }.first
+            let isSectionInComment = !comments.filter {
+                (eachRange, _ ) in eachRange.intersectsRange(lastLine.range)
+            }.isEmpty
 
-            if let _ = sectionInComment {
+            if isSectionInComment {
                 continue  // skipping the lines found in multiline comment
             } else {
                 result.append((lastLine, eachSection.count))


        for eachLine in linesSections {
            let start = eachLine.lastLine.index - eachLine.linesToRemove
            let range =  start..<eachLine.lastLine.index
            for each in range {
                indexOfLinesToDelete.append(each)
            }
        }

        var correctedLines = [String]()

            // Skips violation for areas where the rule is disabled
            let region = file.regions().filter {
                $0.contains(Location(file: file.path, line: eachLastLine.index, character: 0))
            }.first
            if region?.isRuleDisabled(self) == true {
                continue
            }
