How to unset a memory limit in an override file?

Does anyone know how to unset a memory limit in an override file? In docker-ce 19.03 I could just give a new limit of 0, but in 20.10 it is ignored. I would rather not have to edit it out of the base docker-compose.yml.

P.S.: Unsetting a CPU limit by specifying the string ‘0’ still works.