Add documentation and tests for "decomment" function.