Hello @Nojiko75,
Using the same settings as you and similar positioning in a Java file for the comments I was able to test and found no problems.
The only thing I can think of is that elsewhere in your project, either in a sonar-project.properties
file, in the pom.xml
file or in the command line at the invocation of the scanner, you have parameters that override the UI settings of the form
sonar.issues.ignore.block.*
You can see a discussion of these parameters here: How to set sonar.issue.ignore.block in sonar-project.properties