in reply to Extracting Comments

perltidy has an extensive set of options for comment control, but it may only help you with the perl scripts.