How to ignore a specific warning in Kotlin code?


I have a rule that I want to keep enabled, but ignore in a specific case in my code.
It looks like there are mechanisms to do that in Java (e.g. // NOSONAR), but not in Kotlin.

This quick search leads to a StackOverflow question where someone from SonarSource says it’s not possible right now. Is it still the case, and if yes, how to open a bug so this will be implemented in the future?



Thanks for the feedback.
I’ve created a ticket to support NOSONAR comments ->