I got over 100 updgrade warnings in a recent project, mostly because previously a variable was defined as a variant.
I got the same warning every time I used the variable "Couldn't resolve default property of object"

Defining the variable properly solved the problem, but I was left with 100 commented lines saying the same thing.

Is there a secret tip to remove all these warnings comments without manually selecting and deleting?