You can not delete that line set configs for current job.
However you could set a Custom Gcode device same type has you have tested
With multi line codes instead of e.g. M8 ( likely controlled by SIEMENS T-CPU ) and then delete that line with Notepad++ with string “G00 G17 G40 G21 G54” always.
Another thing is that instead of deleting the line with “G00 G17 G40 G21 G54”, you can visually check the codes when editing and comment out that line at the beginning with a semicolon (;).