The Eclipse PHP IDE enables you to select a line or a block of text and tag it as a comment.
Two types of comment code can be added / removed:
Line Comment: ( CTRL+SLASH )
Block Comment: ( CTRL+SHIFT+SLASH )
The Line Comment option ( CTRL+SLASH ) inserts the double forward-slash characters ( // ) to the line or lines selected as comments:
// Comment Text Line 1
// Comment Text Line 2
// Comment Text Line 3
The Block Comment option (CTRL+SHIFT+SLASH) inserts the beginning (/*) and ending (*/) coding in order to mark the selected line or lines as comments.
/* Comment Text Line 1
Comment Text Line 2
Comment Text Line 3
*/