To me the main use of line numbers is that they allow you to have a seemless combination of an immediate environment and a line-oriented program editor.
With modern UI, there's pretty much no reason to do that, of course; with a retro style UI, there might be some marginal use.
(Also, supporting line numbers and line-oriented GOTO/GOSUB means you can directly use any of the libraries or classic code in that style; unwinding GOSUB/RETURN into named subs is trivial enough if it is otherwise clean, but unwinding GOTO-heavy code without having a working starting point isn't pleasant.)