To the best of my knowledge, line numbers in VB6 are only helpful for error handling. Something like this:
Private Sub Command1_Click()
Dim i As Long
On Error GoTo ErrorHandler
10: i = 20
20: i = i / 2
30: i = i / 0
Exit Sub
ErrorHandler:
MsgBox ("Error on line: " & Erl)
End Sub
When you run this code, it will say "Error on line 30". There is a free tool for VB6 called MZ Tools that is a plug in for VB6. This tool can add/remove line numbers as well as insert error handling for you. I encourage you to take a look at it.