Add optional comment syntax to lock/unlock/steal

Fixes #3