For layers to add to the file size it means that the Adobe software is poorly written and keeping duplicate data on multiple layers instead of storing only the manipulation information for the layer.
Nonsense. As already corrected and expressed,
depends on the layers. Layers with pixel data take up space depending on how much of the layer has pixels vs. transparency. There's no way to correct those laws of physics (more pixels, more data).
A user may duplicate the same pixels on layers (which may be user error; Adobe cannot stop people from doing so nor should they) but the bottom line is, pixels on layers equals more data which equals more space needed to save that data. Just as if someone increases the resolution or adds canvas and add's pixels (white or otherwise); more pixels, more data, bigger file size.