Hello mdoooooot,
the template used to deploy /etc/mysql/my.cnf follow the most part of MySQLTuner recommendations, but I do not agree with some of them. To avoid configuration overwriting, it's the same than with Nginx.
touch /etc/mysql/my.cnf.custom