Yes, it does make sense which is why I tried it. The parser needs to know what to look for next.
The Help on REM gives a new way of having comments that straddle multiple lines by using /' and '/ but this is a different situation since my example actually places the comments within the line of source code.
I can still go wrong if this is a development artifact that disappears later rather than an undocumented feature that becomes documented. It does seem to be a deliberate feature.
Multi-line DIM and parameter passing are quite neat with comments.
Code: Select all
dim fred as integer, _ ' a very special number
rope as string ' lots of characters
Sub Observer ( _
LatObs As Double, _ ' Latitude of observer
LngObs As Double) ' Longitude of observer