Did you feel uncomfortable in any way?
Did you feel the touching was unnecessary?
Are you not 100% sure if such touching is socially acceptable? (You are aware of what is socially acceptable or not more than you think.)
When in doubt, PLEASE PLEASE PLEASE talk to someone.
Yoga instructor shall always ask if they can touch the student and it is absolutely not necessary for a yoga instructor to touch the student’s private body parts in any situation WHATSOEVER. Many yoga studios now hand out consent cards where you can flip the card to “yes” or “no” to indicate whether you are okay with the instructor physically touching you during the class.
Commenting on your body is always inappropriate. Commenting on your yoga postures are different than commenting on your body. (that is, if you felt uncomfortable by hearing the comment, it is an inappropriate comment.)
It is never a joke when no one is laughing.