Add keyword argument before-sentence to sage-shell-edit:exec-command-base.
sage-shell-sagetex:load-file does not insert a command.
It comments the first output.