Comments have no effect on the execution of a program, but they are very useful for making programs more readily comprehensible. Two forms of comment are allowed in Prolog:
%
followed by any sequence of characters up to end of
line.
/*
followed by any sequence of characters (including
new lines) up to */
.