Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7694299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T21:17:17+00:00 2026-05-31T21:17:17+00:00

Notepad++ obviously recognizes all comments as such. Is there a way to simply delete

  • 0

Notepad++ obviously recognizes all comments as such. Is there a way to simply delete all?

Edit: Stat-R’s bookmark method has helped greatly, not only for removing comments but for conditionally removing lines in general.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T21:17:18+00:00Added an answer on May 31, 2026 at 9:17 pm

    For a general file, first of all you need to know the comment operator of the language you are writing the file in. For example, in java script the comment operator is //.
    For the following code…

    enter image description here

    In NP++, you need to

    Mark the lines that contains ‘//’. Make sure the bookmark option is enabled.

    enter image description here

    Then, choose from NP++ menu Search>Bookmark>Remove Bookmarked lines

    enter image description here


    EDIT:
    Another solution after @Chris Mirno ‘s suggestion is as follows:
    Use regular expression. See the image below. It is self explanatory
    enter image description here

    To understand it better, refer to these

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I completed the Notepad Tutorial Part 2 and everythings works fine. But there is
Go into Notepad, Internet Explorer or most other applications that display or edit text.
Currently I use Notepad for this purpose. Is there any specific tool intended for
I have done the notepad tutorial of the google webside. There are these tree
I'm working on a notepad application, and I'm looking for a way to have
So i'm trying to understand all the code from the NotePad sample, but i'm
I'm creating a notepad type of application which has the tab functionality. I have
i have to make a notepad where i write,edit,clear the text. this notepad need
Even a simple Notepad application in C# consumes megabytes of RAM as seen in
If you open Notepad, add ten lines and resize the editor to only show

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.