Insert #' when not in comment

Signed-off-by: Zlatozar Zhelyazkov <zlatozar@gmail.com>