Open Manage friends on Steam and check the boxes of all the friends that you want to block and then click on Block. There is no such option to mass delete friends on steam so you can go with this option instead of manually removing friends.