Nah, you can't hide from terminal so for me the best way is remove snap.
---
RT @ubuntu
Home directory feeling cluttered? Hide folders using this one neat trick.
echo "snap" >> ~/.hidden
Do that, and the folder will disappear from your file manager like magic!
https://twitter.com/ubuntu/status/1235901462061944836