You can encrypt it - but not compile it.
Keep in mind that this can be un-encrypted by someone who has read access to this - so I wouldn't include passwords or any sensitive information.
You could convert a vbs script to VB pretty easy, then compile it.
HTH,
Chris