Either way, they would prevent spawns within a certain radius of the blocks. Probably a large radius like 3 chunks.
I've also wanted this feature for a while as I have had lots of Honedge spawn in my Nether builds and several underground spawns in my Overworld houses.