comment out


Also found in: Dictionary, Idioms, Wikipedia.

comment out

[′kä‚ment ′au̇t]
(computer science)
To render a statement in a computer program inactive by making it a comment.
McGraw-Hill Dictionary of Scientific & Technical Terms, 6E, Copyright © 2003 by The McGraw-Hill Companies, Inc.

comment out

(programming)
To surround a section of code with comment delimiters or to prefix every line in the section with a comment marker. This prevents it from being compiled or interpreted. It is often done to temporarily disable the code, e.g. during debugging or when the code is redundant or obsolete, but is being left in the source to make the intent of the active code clearer.

The word "comment" is sometimes replaced with whatever syntax is used to mark comments in the language in question, e.g. "hash out" (shell script, Perl), "REM out" (BASIC), etc.

Compare condition out.
This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)

comment out

To disable lines of code in a program by surrounding them with comment-start and comment-stop characters. Also called "remmed out." See comments.
Copyright © 1981-2019 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.