Speaking from a past life of pot smoking.
When a person asks if you smoke. Either I will in a subtle way say, “Cigarettes?”
That is code for, is there pot involved?
If the person asking, “do you smoke:, is a pot smoker and you reply no. They will either push the issue to see if you smoke pot or by the tone of your “no” will know you do not smoke.
If a smoker asks if you smoke but is not a pot smoker they will ask if you have a cigarette. But usually, unless you are holding a cigarette in your hand, no one is going to ask.
If you are taking to a potential date on the phone and during the “grilling” you are asked if you smoke. You will either say “yes” or “no” if you are just a smoker or non smoker.
A pot person will push the issue, “do you mean cigarettes?”