No, comments are not allowed in the apt preferences file. I will change this to a wishlist bug against apt to allow this.
** Changed in: update-manager (Ubuntu) Sourcepackagename: update-manager => apt Importance: Undecided => Wishlist Status: Unconfirmed => Confirmed ** Summary changed: - [apport] update-manager crashed with SystemError in open() + apt preferences file should allow comments (#) (was: [apport] update-manager crashed with SystemError in open()) -- apt preferences file should allow comments (#) (was: [apport] update-manager crashed with SystemError in open()) https://launchpad.net/bugs/83337 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs