SizeLabels PL is a free script (with optional add-in features) that will add printable labels with the frame size next to every frame in an Adobe® InDesign® document.

The added labels are small text frames which reside on their own separate layer, so they can easily be removed simply by deleting the layer.
More info here: