I see. Actually it is not so easy to just add 1 to this because like I said the error comes straight out of the compiler. I'd have to somehow capture that error, parse it and change the line number. It would be quite some work and could introduce bugs so I'd rather leave it like this. I don't think it's a very serious issue, if you know about it you can add 1 yourself and if not you'll probably find out soon enough that you have to look one line further.
In each case I would encourage everyone to use Visual Studio Code to do the scripting anyway as our script editor is not as powerful.