René Nyffenegger's collection of things on the web
René Nyffenegger on Oracle - Most wanted - Feedback
 

Comment [PL/SQL]

-- comment until end of line

/*  
   comment until star followed by slash
*/
set serveroutput on size 100000
begin

    dbms_output.put_line('not in comment');

--  dbms_output.put_line('within comment');

/*
    dbms_output.put_line('within comment');
*/

    dbms_output.put_line('not in comment');

/*
    dbms_output.put_line('within comment');

       
--  dbms_output.put_line('within comment');  */
  
    dbms_output.put_line('not in comment');

end;
/
See also the sql comment statement.