kevv11 said:
Well, I know that if torque were to be zero in this case, then the force of gravity has to be perpendicular to the axis of rotation
Almost. The weight of the person would create a torque at the axle point (the origo in your diagram) around a direction that indeed is perpendicular the rotation axis (e.g. pointing out of the paper in your diagram, let's call that the z-axis). Perhaps that is what you meant.
There are two parts to understand why the torque from that weight can be ignored in the problem.
First, just like for linear momentum and force, angular momentum and torque takes 3 degrees of freedom to describe in full for an actual mechanical systems. We say that these quantities are vectors (i.e. consist of 3 numbers), as opposed to, say energy, which is a scalar (a single number). By using symmetries, actual systems can quite often be modeled in a much simpler way where only one degree of freedom is analyzed and the other two degrees of freedom (under some conditions) is assumed to be independent and therefore can be ignored.
Secondly, there is another (unstated) assumption in the problem text, namely that the rotation axis is fixed vertical. Physically this means there must be a bearing of some kind that only allow free (torque-free) rotation around the vertical axis and transports the torque around all directions perpendicular to that axis (i.e. all directions that lie in the xz-plane in your diagram) into the ground (a merry-go-round need a fairly solid ground support for this reason compared with a seesaw). With the assumption that the disc is attached to such an axle, we almost by definition have that the net torque around the axle direction is zero, and hence we have conservation of angular momentum.
Note that if some of all these assumptions used to make a simple model are not valid for a particular merry-go-round then there may very well not be (complete) conservation of angular momentum. Two likely issues that would creep up in an actual merry-go-round would be that the axle bearing has some friction meaning there would be a small frictional torque "opposing" any rotation making it slow and stop without anyone around to spin it up, and that the axis of rotation is slightly off-vertical meaning that any unbalanced weight on the disc (like a single person sitting near the edge) would have to be lifted slightly up and down at the disc rotates making an "oscillatory" variation in net torque around the rotation axis. In this later case (off-vertical axis) you can see that the weight of a person would indeed matter if the model and analysis of the mechanics has to capture this.