The energy stored in the body due to the virtue of position is known as potential energy.
The gravitational potential energy is given as,
[tex]P\mathrm{}E\mathrm{}=mgh[/tex]Here, m is the mass, g is the acceleration due to gravity, and h is the height above the reference level.
Therefore,
[tex]P\mathrm{}E\text{.}\propto m[/tex]And,
[tex]P\mathrm{}E\text{.}\propto h[/tex]Therefore, the gravitational potential energy is proportional to both mass and height above a reference level. Hence, the given statement is true.