How can you do this via settings in Android? I've spent hours searching for the answer and have yet to find it.
You absolutely can block such numbers in the stock Android phone app; some online sources indicate iOS lacks this basic feature, but I don't know if they are accurate and current.