Suggestions for xcomment
The following packages have something in common with the package xcomment. The packages are ordered in decreasing similarity.
- codesection: Provides an environment that may be conditionally included
 - optional: Facilitate optional printing of parts of a document
 - version: Conditionally include text
 - versions: Optionally omit pieces of text
 - renditions: Multiple versions from the same content
 - comment: Selectively include/exclude portions of text
 - conditext: Define and manage conditional content
 - multiaudience: Several versions of output from the same source
 - phfcc: Convenient inline commenting in collaborative documents
 - tagging: Document configuration with tags
 - hideanswer: Generate documents with and without answers by toggling a switch
 - ifthenx: Extra tests for \ifthenelse
 - xifthen: Extended conditional commands
 - graphicscache: Cache includegraphics calls
 - ifallfalse: Compare a string against a set of other strings
 - to-be-determined: Highlight text passages that need further work
 - switch: A constant time/expandable switch/case
 - ifthen: Conditional commands in LaTeX documents
 - luacensor: Securely redact sensitive information using Lua
 - comment-pln: Comment macros for use in Plain TeX
 - comment_io: A Python script to comment and uncomment lines
 - srcredact: A tool for redacting sources
 - bitpattern: Typeset bit pattern diagrams
 - bitfield: Draw bit field data structure diagrams (obsolete)
 - membranecomputing: Membrane Computing notation
 - register: Typeset programmable elements in digital hardware (registers)
 - bytefield: Create illustrations for network protocol specifications
 - lsc: Typesetting Live Sequence Charts
 - semantic: Help for writing programming language semantics
 - warning: Global warnings at the end of the logfile
 - eqnnumwarn: Modifies the amsmath equation environments to warn for a displaced equation number