Problem uploading with ArduinoAsISP on Arduino Mega

The Arduino IDE has it also set, and PlatformIO copies that behavior. I’m also not sure why this is the default… Maybe you can ask at Issues · arduino/ArduinoCore-avr · GitHub.

Also there’s a partly related topic about not erasing the flash when uploading to EEPROM (AVR: Uploading EEPROM also erases chip - #8 by maxgerhardt).