Dear student,
The statement is false. Mass is the amount of matter present. It is constant everywhere. It doesn't depends on intermolecular spaces or forces. For example, let us say we have a mass of 1kg. Even if we increase the intermolecular spaces or the forces, the amount of matter present does not changes, which means mass doesn't changes. These factors may affect the state of matter( whether it is solid, liquid or gas) but not the mass present.