Yes, it would hurt because the bricks would still have the same mass.
On the Moon, the force of gravity is weaker than on Earth (about 1/6th), meaning that an object would weigh less, but its mass remains the same. If you were hit by a ton of bricks, it would still have the same mass as it does on Earth, so the impact would still hurt, even if the weight is less due to the lower gravitational pull.