Personally I wouldn't use ceramic as a line safety cap, there are specific caps rated for that duty. Look in modern electronics, it's the square one near the AC input marked with either an X (for across the line) or Y (line to ground). Here's a nifty PDF which explains the difference:
http://www.newark.com/pdfs/techartic...ty_2008-01.pdf