We can easily place a line in a comment. We just need to place the mouse marker on that line and press CTRL + ‘/’. We can comment more than one line by marking the lines we want to comment and press CTRL + Shift + ‘/’. The following video clip shows that.
The Visitor Design Pattern
The visitor design pattern allows us to add operations to objects that already exist without modifying their classes and without extending them.