Now that I’ve had more time to look into this, I find no other report that behaves this way when it is exported. So I am going to move this to the bugs category. To better illustrate, this report:
produces this export, adding a Total line to the closing balance: