What's the disadvantage of answering them?
Provides positive reinforcement (for both the question asker and others) that they can ask these questions here (despite comment and down- and close votes). Either they may not realize that their question is not appropriate because of the answer(s), or not care, because they still get an answer.
With constant positive reinforcement for those asking these questions, we'll never be able to stop them, even with eventual banning.
Even commenting to give the answer, giving a hint, or pointing out a duplicate or tutorial ironically probably does a similar amount of harm.
What's the advantage of answering them?
A good answer is a good answer, even to a bad question, and makes the internet a better place.
Being helpful is good, even for questions that should be closed and deleted.
Side note - for questions showing no research effort, official policy is that's not a reason to close them.
Listing those advantages without a sarcastic undertone was really difficult...
My belief on what official policy is:
- Close questions that should be closed.
- Downvoting is your prerogative, but it's expected that you'll be reasonable in how you downvote, and not target users.
- It's totally up to you what you want to answer or not.