Ignore comment lines during remaining command check