It’s not allowed in any case to tell about your past sins to anybody. No need to lie either. Just you can say it’s my very very personal issue and I can’t tell this to even my parent and wife. Then no need to answer yes or no. Just say I don’t want to discuss on this issue anything.