Add support for comments (starting with #) in patch file