When using the coding construct...
ON VARIABLE GOSUB SUB1, SUB2, SUB3
...If the statement is split onto multiple lines...
ON VARIABLE GOSUB SUB1,
SUB2,
SUB3
...the linter shows problems with unreferenced labels. The multi-line ON construct is valid, compiles and runs as expected
MacOS Sequoia
VSCode : 1.101.0
MV Basic : 2.1.7
Flavor : UniVerse