Can a CSV file have comments?

1123790 pts.
Tags:
CSV file
Hi all, Does anyone know if I could allow a CSV file to have comments? It doesn't matter to me if it's on its own line or just at that the end of the line too. I'm assuming this is not possible but I thought I ask. Thanks! Doug
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

Since a CSV file is basically an Excel file with a different extension, yes, you can type in any comments that you wish.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • carlosdl
    "Since a CSV file is basically an Excel file with a different extension, yes, you can type in any comments that you wish."

    I have to disagree.

    A CSV file has nothing to do with Excel, apart from the fact that many people open them using that program.

    A CSV file is a text file, in which the values in each line are separated by commas.  That is what it means: CSV stands for comma separated values.

    Since CSV is just a format, and CSV files can be used for many different purposes and by many different applications, there is not a single answer to the question "can they have comments"?

    They can have comments if the application that is going to use them defines a way to include comments in them, but that is not something related to the CSV format, but to the application that uses the files.
    84,580 pointsBadges:
    report
  • ToddN2000
    I agree with Carlosdl.

    Depends.

     If these are user entered comments you would need to filer the input data for any commas. If there are any commas it will break it out into the next field/column.
    125,530 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: