Extract comments which are inside the function

Nov 3, 2015 at 7:42 AM
I'm trying to extract comments from the function body like below but have no idea...

[source code]
public void TestMethod()
{
// 1. check the settings
....
// 2. check the connection
....
// 3. connect database
....
}

[help file]
  1. check the settings
  2. check the connection
  3. connect database
I don't want to put those comments above the function declaration
///<remarks>
/// 1. check the settings
/// 2. check the connection
// 3. connect database
///</remarks>
public void TestMethod()
{
// 1. check the settings
...
// 2. check the connection
...
// 3. conncect database
...
}

We use the help document to communicate with each other.

But we still need to write comments in the function body for the reason of coding convention.

So I need to write the same text twice and the remarks section is too large to read easily.

Your help is highly appreciated

Thanks
Editor
Nov 3, 2015 at 7:28 PM