Oh wait, that bug is apparently still there. The snapmaker controller can’t parse comments correctly, whereas Lightburn can. That’s why it works in Lightburn, but not sent to the machine. Simply remove all the
;
from your header gcode (or copy below).
G28
G90
G53
G0 Z25 F6000
G54
G92 Z0
G0 Z200
G53
G0 X4 Y0 F6000
G54
G92 X-1.7 Y4.5
M3 S0
I tested and verified that was the problem by using your file (modifying in my own focus height and material) running it and noticed the wonk, then noticed the semicolons and removed them and it ran fine afterwards.
Found this bug way back in March on firmware 1.15.x