The problem with this attitude is that withholding that information could be seen as a sign that you’re a problematic employee. Even if the company really doesn’t care, an applicant has no way of knowing that. So by not answering the questions you could be eliminating yourself from the job right away.
It’s easy to be pithy and say “well that’s not a place you want to work anyway”, but that’s counter to the reality that many places don’t have a lot of employment options, and people simply need every chance they can get to find a job on merits as opposed to artificial elimination criteria that some incompetent low level HR person came up with.