Both are always acceptable options. Singing tends to lend more solemnity so it is sometimes chosen for Sundays or special feast days. Either singing or reciting it is acceptable but sometimes singing is chosen to make an occasion more solemn and sometimes reciting it is chosen for time purposes.