A good way to prevent attempts to help you circumvent your problem is to preempt those comments. Say you want to hammer a screw, then a good way to avoid people suggesting a screwdriver is to include in your question that you are aware that a screwdriver is in most cases a better choice; ideally add some references to other questions dealing with screwdrivers for this purpose and a brief summary of the drawbacks of using a hammer; and then emphasize that in this particular case you really do want to use a hammer anyway. This way the potential answerers are aware that you know about the alternatives, so there is no need to point them out to you. And since you included references and warnings, future readers of your question will be aware of the alternative approaches too, so there is no need to add further comments for *their* benefit. If, after that you still get comments suggesting screwdrivers, flag them as "not constructive" or "too chatty".