Given a txid, can I find out the message/comment the transaction was attached with by the sender?
Transactions do not have comments attached to them. Any comments are local to a person's wallet only. They are not broadcast to the network nor are they actually attached to a transaction. So you cannot find the message or comment that a person assigned to a transaction in their wallet.