a simple solution would be to use :
M201 - Set max acceleration in units/s2 for print moves (M201 X1000 Y1000)
(M202 - Set max acceleration in units/s2 for travel moves (M202 X1000 Y1000))
so it´s easy to add f.e. M201 X10000 Y10000 (10000 is a high value that comes close to no acceleration)
at beginning of your GCode and go back to your Standard value (f.e. 200) at the end of your GCode
with M201 X200 Y200