Question: what happens if you block someone on battlenet?
Answer: Block only prevents communication and matchmaking ( upcoming feature ). It doesn't delete chats or records. So he may not directly know you are online but that doesn't mean he could just make a new account to find out.