Just noticed that if a comment before a sub definition contains a '<' symbol, the tooltip does not show and instead '(Invalid description)' is displayed.
B4X:
'This comment will cause the tooltip to display an error because of the < symbol
Sub test
End Sub