Yeah, that reply sounds irrelevant, but I can see this as meaning "Every little helps". Even if it deters one person from smoking, that's good.
Like in the joke: A smoker asks for a pack of cigarettes and receives a pack which says that smoking causes impotence. He returns the pack to the cashier and says he doesn't want the pack with impotence, he prefers the pack with lung cancer instead.