I think StackOverflow's stock off-topic close reason of:
Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers.
would be perfect for a lot of the stack dumps or "please advise me the code" questions we get. Is it possible to get that added as one of the stock close reasons under the "off-topic" category? It seems to me that it would be more specific and helpful than just "unclear what you're asking" and also make it clear that such questions are off-topic when asked in that way.