Is there a way to mask mesh in Blender
The mask modifier can hide unuseful vertices, but it's an internal Blender modifier that will not work in Unity or others softwares. I think it's better to select the unuseful vertices, press P to separate them into another object and include or exclude this new object during FBX export, as needed.