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()