in reply to Re: A variable name in a regex comment triggers a warning
in thread A variable name in a regex comment triggers a warning

Yes, it does, sometimes:
$ perl -wle'print("%7" =~ /(?x)#/)' 1