Yes, it would hurt because the bricks would still have the same mass.
On the Moon, while the weight of the bricks would be less due to the lower gravity, the mass remains the same. If an object with a mass of a ton impacts you, it would still cause injury, even if it feels lighter than on Earth.