JetBrains IntelliJ K2 Mode for Kotlin doesn't have the ability to suppress based on annotation, you'll have to suppress it with a comment, or disable K2 mode.