"These tokens must appear at the start of the lines they appear on to be recognized"
The */ has to be at the start of the line.
No, I mean this case breaks the End command:
Dialect "modern" Repeat Until KeyHit(1) /* comment */ End
And another example:
Dialect "modern" Repeat Until KeyHit(1) /* comment */ Local i=0 For i=0 To 10 DebugLog(i) Next WaitKey()
In this case we will not get the results from the DebugLog function in the debugger. But when we remove the comment, the Debug Log function will show the results
Dialect "modern" Repeat Until KeyHit(1) Local i=0 For i=0 To 10 DebugLog(i) Next WaitKey()