We study in 2-dimensions the superfluid density of periodically modulated states in the framework of the mean-field Gross-Pitaevskiî model of a quantum solid. We obtain a full agreement for the superfluid fraction between a semi-theoretical approach and direct numerical simulations. As in 1-dimension, the superfluid density decreases exponentially with the amplitude of the particle interaction. We discuss the case when defects are present in this modulated structure. In the case of isolated defects (e.g. dislocations) the superfluid density only shows small changes. Finally, we report an increase of the superfluid fraction up to 50% in the case of extended macroscopical defects. We show also that this excess of superfluid fraction depends on the length of the complex network of grain boundaries in the system.