How to remove the current post from the query?

post__not_in only takes arrays – so it should such, even if you are only passing single value. Simply pass array($post->ID).