is there a way to block certain ip in bitcoin.conf file?
You really want to use iptables (assuming you are on Linux and I cannot imagine why you would not be.) That way you never have to shut down the Daemon just to block an address.
Hmmm... let me think of a single reason... Because I'm a gamer?