A service unit that is empty (0 bytes) will be parsed by `systemd` as masked. While `systemctl mask
You need to figure out why the service unit is empty.
As to how to unmask a service whose unit file is empty... You "unmask" the service by making the unit non-empty, which is going to be dependent on _why_ the unit is empty.