asking would be rude; it's tasteless to ask
Used when the answer is obvious or the question itself is considered insensitive or boorish. Often said to gently chide someone for asking something they should already know or shouldn't ask.
"Why is she crying?" "It's rude to ask."
It's just tasteless to ask such a thing.
From 聞く (to ask) + だけ (just) + 野暮 (boorish, unrefined). Literally 'just asking is boorish'.