As far as I know, a setting was added to /etc/pihole/setupVars.conf, instructing the installer / updater to use your preferred cache setting:
CACHE_SIZE=0
however DL6ER indicated here this branch (update/dnsmasq-v2.85)
thus, NOT sure the setting is functional, when not on the master branch...