It's not the mass, but the
mass-distribution, that the parameter q describes here. It determines the ratio of angular to linear inertia.
And it's not a 'singularity'. Static friction, as function of q (with all other parameters constant) is a smooth, well behaved function at and around the point where static friction is zero.
Why q affects static friction in
this particular scenario has been explained to you multiple times in this and the previous thread:
https://www.physicsforums.com/threads/rolling-without-slipping-problem.1078971/post-7247129
https://www.physicsforums.com/threads/rolling-without-slipping-problem.1078971/post-7247254
Here is another way to put it:
Static friction is a constraint force, which takes whatever direction and magnitude necessary (within certain limits) to constrain the kinematics in a certain way (prevent relative tangential motion at the contact). If other forces and moments, in combination with linear and angular inertia (here q comes in), already generate kinematics that satisfies the above constraint, then there is no need for any additional constraint forces, and static friction is zero.
If your ideas about the micoscopic situation don't match this macroscopic result, then your micoscopic model is wrong, or you don't translate it to the macro scale correctly.